﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Skyworth.CRM.Service.Entity;

namespace Skyworth.CRM.Service.IDAL
{
   public interface IEmployeeDAL
    {
       DataTable Query(string strWhere);
       DataTable GetEmployeesByPage(string strWhere, string strOrderBy, int pageIndex, int pageSize,
                                           out int recordCount, out int pageCount);

       void DeleteEmployee(int employee);


       Employee GetEmployeeById(int employeeId);

       void Add(Employee employee);

       void Update(Employee employee);
    }
}
